<div class="tablas-info">
    <div class="tabla-titulo">
        <h2><strong>RT'S</strong></h2>
          Seleccione el numero de Rt a la cual dara salida
        <div class="tabla-buttons">
            <div class="searchInput">
                <i class="fa fa-search"></i>
                <input type="text" class="search-query search" placeholder="Buscar RT..."/>
            </div>

        </div>
    </div>

    <div id="tabla-data" class="in">
        <div class="table-responsive">
            <table id="tblData" class="table table-striped table-hover table-datos">
                <thead>
                    <tr>
                        <th>Numero</th>
                        <th>Fecha</th>
                        <th>Cliente</th>
                        <th>Proveedor</th>                       
                        <th>Saldo</th>
                        <th></th>
                    </tr>
                </thead>

                <tbody>
                    <% @receiving_tickets.each do |receiving_ticket| %>
                        <tr>
                            <td><%= link_to receiving_ticket.id, new_salida_almacen_path(receiving_ticket) %></td>
                            <td><%= receiving_ticket.FechaRecepcion.strftime("%m/%d/%Y") %></td>
                            <td><%= receiving_ticket.IdCliente %></td>
                            <td><%= receiving_ticket.rt_proveedor.proveedor.NombreRazon if !receiving_ticket.rt_proveedor.nil? and !receiving_ticket.rt_proveedor.proveedor.nil? %></td>
                            <td></td>
                        </tr>
                    <% end %>
                </tbody>
            </table>
        </div>
    </div>
</div>
